import { API } from '@/services/model/baseModel';
import { CartModel } from '@/services/model/cartModel';
import config from '@/utils/config';
import { request } from '@/utils/http';

/**
 * 购物车列表
 */
const getCartList = () => {
  return request.post<API<Array<CartModel>>>(config.url.cart_list);
};

export { getCartList };
